package com.example.yibaodianzipinzheng;

import com.example.yibaodianzipinzheng.service.InitializeListener;
import com.example.yibaodianzipinzheng.service.WindowFocus;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

@SpringBootApplication
public class YibaodianzipinzhengApplication {


    public static void main(String[] args) {
//        SpringApplication.run(YibaodianzipinzhengApplication.class, args);
        SpringApplicationBuilder builder = new SpringApplicationBuilder(YibaodianzipinzhengApplication.class);
        builder.headless(false).listeners(new InitializeListener()).run(args);
    }

}
